package com.graduate.emos.wx.db.dao;

import com.graduate.emos.wx.db.pojo.TbCheckin;
import org.apache.ibatis.annotations.Mapper;


import java.util.ArrayList;
import java.util.HashMap;

@Mapper
public interface TbCheckinDao {
    Integer haveCheckin(HashMap inParam);
    void addCheckin(TbCheckin tbCheckin);
    HashMap searchTodayCheckin(int userId);
    long searchCheckinDays(int userId);
    ArrayList<HashMap> searchWeekCheckin(HashMap inParam);

    public int deleteUserCheckin(int userId);
}